package entity;
/**
 * 
 * @author 小五
 * 购物车实体类
 *
 */
public class ShopCar {
	private int shopcar_id;//购物车id
	private int user_id;//用户id
	private int goods_id;//商品id
	
	
	public ShopCar() {
		super();
	}
	@Override
	public String toString() {
		return "ShopCar [shopcar_id=" + shopcar_id + ", user_id=" + user_id + ", goods_id=" + goods_id + "]";
	}
	public ShopCar(int user_id, int goods_id) {
		super();
		this.user_id = user_id;
		this.goods_id = goods_id;
	}
	public int getShopcar_id() {
		return shopcar_id;
	}
	public void setShopcar_id(int shopcar_id) {
		this.shopcar_id = shopcar_id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(int goods_id) {
		this.goods_id = goods_id;
	}
	
	
	
	
	
	
	
}
